---
---
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	   <!-- Favicon -->
    <link rel="shortcut icon" href="{{ site.baseurl }}/resources/favicon.ico">
    <link href='{{ "/stylesheets/quando.css" | prepend:site.baseurl }}' rel='stylesheet' type='text/css'>
    <link href='{{ "/stylesheets/muli.css" | prepend:site.baseurl }}' rel='stylesheet' type='text/css'>
    <link href="{{ "/stylesheets/font-awesome.min.css" | prepend:site.baseurl }}" rel="stylesheet">
    <link rel="stylesheet" href="{{ "/stylesheets/resumecards.css" | prepend:site.baseurl }}">
    <title>
        {{ site.name }}'s Resume
    </title>
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
        

  </head>
  <body class="theme-default">

    <nav class="navbar navbar-default hidden-print hidden-xs" role="navigation">
        <div class="resume-nav">
          <a href="{{ "/index.html" | prepend:site.baseurl }}"  class="btn btn-warning">中文版</a>
          <a href="{{ "/english.html" | prepend:site.baseurl }}"  class="btn btn-info">英文版</a>
		  
		  <!-- 主题切换 -->
		  <div class="dropdown resume-dropdown">
            <button type="button" class="dropdown-toggle btn btn-default" data-toggle="dropdown" role="button" aria-expanded="false">Theme <span class="caret"></span></button>
            <ul class="dropdown-menu resume-dropdown-menu" role="menu">
              <li><a href="#" id="default">Default</a></li>
              <li><a href="#" id="red">Red</a></li>
              <li><a href="#" id="pink">Pink</a></li>
              <li><a href="#" id="brown">Brown</a></li>
              <li><a href="#" id="blue">Blue</a></li>
              <li><a href="#" id="purple">Purple</a></li>
              <li><a href="#" id="teal">Teal</a></li>
              <li><a href="#" id="green">Green</a></li>
            </ul>
          </div>
        </div>
        
	</nav>

    <div class="container resume-content">
      <div class="row">
        <div class="col-sm-8 clearfix">
          <figure class="resume-pic">
            <img src="{{ "/resources/header.JPG" | prepend:site.baseurl }}" class="img-rounded" width="120" height="120">
          </figure>
          <div class="resume-baseinfo">
            <h1>杜万江</h1>
            <p><b>一个爱折腾的Java程序猿</b></p>
            <p>生命不止，折腾不休！持续关注高性能，高可用，分布式，高并发！</p>
          </div>
        </div>
        <div class="col-sm-4 resume-contact">
          {% include nav.html %}
        </div>
      </div>
      <div class="row">
        {% for card in site.posts %}
          {% if card.category=='cn' %}
            <div class="col-sm-4">
              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">{{ card.type }}</h3>
                </div>
                <div class="panel-body" style="height: 360px;">
                  {% if card.heading %}
                    <h4>
                      {{ card.heading }}
                    </h4>
                  {% endif %}
                  {% if card.subheading %}
                    <p class="resume-subheading">
                      {{ card.subheading }}
                    </p>
                  {% endif %}
                  {% if card.duration %}
                    <p class="resume-duration">
                      {{ card.duration }}
                    </p>
                  {% endif %}
                  {% if card.location %}
                    <p class="resume-location">
                      {{ card.location }}
                    </p>
                  {% endif %}
                  {{ card.content }}
                </div>
              </div>
            </div>
          {% endif %}
        {% endfor %}
      </div>
    </div>

     <nav class="navbar navbar-default hidden-print hidden-xs" role="navigation">
        <div class="resume-nav">
          <span>Powered by <a href="https://github.com/ellekasai/resumecards" target="_blank">ResumeCards</a><span class="hidden-sm"></span></span>.
          <span>Copyright © 2018-{{ site.time | date: '%Y' }} <a href="http://www.duwanjiang.com/" target="_blank">Du Wanjiang</a><span class="hidden-sm"></span></span>.
		  <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#saveAsPdf">
            Save as PDF
          </button>
          <div class="modal fade" id="saveAsPdf" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
              <div class="modal-content">
                <div class="modal-body">
                  <img src="{{ "/resources/resume_print_dialog.png" | prepend:site.baseurl }}" class="img-rounded" width="400" height="342">
                  <p>Warning: Currently, ResumeCards works the best on Chrome.<br>You need to adjust the CSS for Firefox/Safari.</p>
                </div>
                <div class="modal-footer">
                  <button onclick="window.print()" class="btn btn-primary">Open Print Dialog</button>
                  <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                </div>
              </div>
            </div>
          </div>
        </div>
      </nav>
    <script src="{{ "/javascripts/jquery.min.js" | prepend:site.baseurl }}"></script>
    <script src="{{ "/javascripts/bootstrap.min.js" | prepend:site.baseurl }}"></script>
    <script src="{{ "/javascripts/resumecards.js" | prepend:site.baseurl }}"></script>

  </body>
</html>
